package norDemo;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.Socket;
import java.net.UnknownHostException;

public class Demo {
	public static void main(String[] args) throws UnknownHostException, IOException {
		Socket s = new Socket("127.0.0.1", 4545);
		BufferedReader in = new BufferedReader(new InputStreamReader(s.getInputStream(), "UTF-8"));
		System.out.println(in.readLine());
	}
}
